require("bufferline").setup({
	options = {
		numbers = function(opts)
			return string.format('%s|%s', opts.ordinal, opts.raise(opts.id))
		end,
		modified_icon = "✥",
		buffer_close_icon = "",
		left_trunc_marker = "",
		right_trunc_marker = "",
		max_name_length = 14,
		max_prefix_length = 13,
		tab_size = 20,
		show_buffer_close_icons = false,
		show_buffer_icons = true,
		show_tab_indicators = true,
		diagnostics = "nvim_lsp",
		always_show_bufferline = true,
		separator_style = "thin",
		offsets = {
			{
				filetype = "NvimTree",
				text = "File Explorer",
				text_align = "center",
				padding = 1,
			},
		},
		diagnostics_indicator = function(count, level, diagnostics_dict, context)
			return "(" .. count .. ")"
		end,
	},
})
